package yuan.deng.domain;

public class Items {
    private  Integer id;
    private String iname;
    private float price;
    private String address;

    public Items(Integer id, String iname, float price, String address) {
        this.id = id;
        this.iname = iname;
        this.price = price;
        this.address = address;
    }

    public Items() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Items{" +
                "id=" + id +
                ", iname='" + iname + '\'' +
                ", price=" + price +
                ", address='" + address + '\'' +
                '}';
    }
}
